<%= semantic_form_for @search do |f| %>
<%= f.inputs "Search condition" , :class=>"search-form" do %>
<%= f.input :name_contains ,:required => false %>
<% end %>

<%= f.commit_button "Search" , :button_html => { :class => "search-button", :disable_with => 'Searching...' } %>
<% end %>